<?php
	abstract class Debug{

		const DEBUG_MODE = true;

		const ERROR_HEADER      = "ESQuery Error: ";
		const ERROR_MUST_LOGIN  = "[001] PLEASE LOGIN TO CONTINUE";
		const ERROR_BAD_REQUEST = "[002] BAD REQUEST";
		const ERROR_NO_LINK     = "[003] COULD NOT CONNECT TO MYSQL";

		public function GetError($ErrorString)
		{
			return self::ERROR_HEADER.$ErrorString;
		}
		
		public function Message($String)
		{
			echo "\n/* ESQuery debug message\n\n";
			var_dump($String);
			echo "\n*/\n";
		}
	}
?>